<template>
  <div id="app">
    <div class="nav">
      <router-link to="/">Hello</router-link>   |
      <router-link to="/city">地区</router-link>   |
      <router-link to="/collapse">手风琴</router-link>  |
      <router-link to="/tree">树形</router-link>
    </div>
    <router-view/>
  </div>

</template>

<script>
// import test from "./test.vue";
import tree from "./tree.vue";
import collapse from "./collapse.vue";
import City from "./city";
export default {
  name: 'App',
  components:{
    City,
    tree,
    collapse

  }
}

</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
